#include "stl.h"
#include "parse.h"
#include "solution.h"
int main(int argc, char *argv[])
{
    string str = "[[\"[3,5,1,6,2,0,8,null,null,7,4]\",\"5\",\"2\"],[\"[1]\",\"1\",\"3\"]]";
    vector<vector<string>> arr = parseStringArrArr(str);
    for (int i = 0; i < arr.size(); i++)
    {
      vector<string> args = arr[i];
      Solution *s = new Solution();
      TreeNode * arg0 = parseTreeNode(args[0]);
      TreeNode * arg1 = new TreeNode(parseInteger(args[1]));
      int arg2 = parseInteger(args[2]);
      vector<int> result=s->distanceK(arg0,arg1,arg2);
      string resultabc =serializeIntegerArr(result);
      cout << "resultabc"+to_string(i)+":" << resultabc <<"resultend"<< endl;
    }
    return 0;
}